FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (31 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-DocumentReference2to3.html
Url http://hl7.org/fhir/StructureMap/DocumentReference2to3
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name DocumentReference2to3
Title DocumentReference Transforms: R2 to R3
Experimental False
Realm uv
Authority hl7
Description DocumentReferenceTransformsR2toR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/DocumentReference2to3'
/// name = 'DocumentReference2to3'
/// title = 'DocumentReference Transforms: R2 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/1.0/DocumentReference" alias DocumentReferenceR2 as source
uses "http://hl7.org/fhir/3.0/DocumentReference" alias DocumentReference as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group DocumentReference(source src : DocumentReferenceR2, target tgt : DocumentReference) extends DomainResource <<type+>> {
  src.masterIdentifier -> tgt.masterIdentifier "DocumentReference-masterIdentifier";
  src.identifier -> tgt.identifier "DocumentReference-identifier";
  src.subject -> tgt.subject "DocumentReference-subject";
  src.type -> tgt.type "DocumentReference-type";
  src.class -> tgt.class "DocumentReference-class";
  src.author -> tgt.author "DocumentReference-author";
  src.custodian -> tgt.custodian "DocumentReference-custodian";
  src.authenticator -> tgt.authenticator "DocumentReference-authenticator";
  src.created -> tgt.created "DocumentReference-created";
  src.indexed -> tgt.indexed "DocumentReference-indexed";
  src.status -> tgt.status "DocumentReference-status";
  src.docStatus as v then {
    v.coding as v1 where v1.system = 'http://hl7.org/fhir/composition-status' -> tgt.docStatus = (v1.code) "DocumentReference-docStatus-inner";
  } "DocumentReference-docStatus";
  src.relatesTo as vs0 -> tgt.relatesTo as vt0 then drRelatesTo(vs0, vt0) "DocumentReference-relatesTo";
  src.description -> tgt.description "DocumentReference-description";
  src.securityLabel -> tgt.securityLabel "DocumentReference-securityLabel";
  src.content as vs0 -> tgt.content as vt0 then drContent(vs0, vt0) "DocumentReference-content";
  src.context as vs0 -> tgt.context as vt0 then drContext(vs0, vt0) "DocumentReference-context";
}

group drRelatesTo(source src, target tgt) extends BackboneElement {
  src.code -> tgt.code "relatesTo-code";
  src.target -> tgt.target "relatesTo-target";
}

group drContent(source src, target tgt) extends BackboneElement {
  src.attachment -> tgt.attachment "content-attachment";
  src.format -> tgt.format "content-format";
}

group drContext(source src, target tgt) extends BackboneElement {
  src.encounter -> tgt.encounter "context-encounter";
  src.event -> tgt.event "context-event";
  src.period -> tgt.period "context-period";
  src.facilityType -> tgt.facilityType "context-facilityType";
  src.practiceSetting -> tgt.practiceSetting "context-practiceSetting";
  src.sourcePatientInfo -> tgt.sourcePatientInfo "context-sourcePatientInfo";
  src.related as vs0 -> tgt.related as vt0 then drrelated(vs0, vt0) "context-related";
}

group drrelated(source src, target tgt) extends BackboneElement {
  src.identifier -> tgt.identifier "related-identifier";
  src.ref -> tgt.ref "related-ref";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "DocumentReference2to3",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/DocumentReference2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DocumentReference2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'DocumentReference Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/DocumentReference<span style=\"color: navy\">&quot; </span><b>alias </b>DocumentReferenceR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/DocumentReference<span style=\"color: navy\">&quot; </span><b>alias </b>DocumentReference <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>DocumentReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DocumentReferenceR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DocumentReference<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.masterIdentifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.masterIdentifier <i>&quot;DocumentReference-masterIdentifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;DocumentReference-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject <i>&quot;DocumentReference-subject&quot;</i><span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type <i>&quot;DocumentReference-type&quot;</i><span style=\"color: navy\">;</span>\r\n src.class<span style=\"color: navy\"><b> -&gt; </b></span>tgt.class <i>&quot;DocumentReference-class&quot;</i><span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -&gt; </b></span>tgt.author <i>&quot;DocumentReference-author&quot;</i><span style=\"color: navy\">;</span>\r\n src.custodian<span style=\"color: navy\"><b> -&gt; </b></span>tgt.custodian <i>&quot;DocumentReference-custodian&quot;</i><span style=\"color: navy\">;</span>\r\n src.authenticator<span style=\"color: navy\"><b> -&gt; </b></span>tgt.authenticator <i>&quot;DocumentReference-authenticator&quot;</i><span style=\"color: navy\">;</span>\r\n src.created<span style=\"color: navy\"><b> -&gt; </b></span>tgt.created <i>&quot;DocumentReference-created&quot;</i><span style=\"color: navy\">;</span>\r\n src.indexed<span style=\"color: navy\"><b> -&gt; </b></span>tgt.indexed <i>&quot;DocumentReference-indexed&quot;</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;DocumentReference-status&quot;</i><span style=\"color: navy\">;</span>\r\n src.docStatus<b> as </b><span style=\"color: maroon\">v</span><b> then</b><span style=\"color: navy\"> {\r\n</span> v.coding<b> as </b><span style=\"color: maroon\">v1</span><b> where </b>v1.system = 'http://hl7.org/fhir/composition-status'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.docStatus = <span style=\"color: navy\">(</span>v1.code<span style=\"color: navy\">)</span> <i>&quot;DocumentReference-docStatus-inner&quot;</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>&quot;DocumentReference-docStatus&quot;</i><span style=\"color: navy\">;</span>\r\n src.relatesTo<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.relatesTo<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>drRelatesTo<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;DocumentReference-relatesTo&quot;</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;DocumentReference-description&quot;</i><span style=\"color: navy\">;</span>\r\n src.securityLabel<span style=\"color: navy\"><b> -&gt; </b></span>tgt.securityLabel <i>&quot;DocumentReference-securityLabel&quot;</i><span style=\"color: navy\">;</span>\r\n src.content<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.content<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>drContent<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;DocumentReference-content&quot;</i><span style=\"color: navy\">;</span>\r\n src.context<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.context<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>drContext<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;DocumentReference-context&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>drRelatesTo<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code <i>&quot;relatesTo-code&quot;</i><span style=\"color: navy\">;</span>\r\n src.target<span style=\"color: navy\"><b> -&gt; </b></span>tgt.target <i>&quot;relatesTo-target&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>drContent<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.attachment<span style=\"color: navy\"><b> -&gt; </b></span>tgt.attachment <i>&quot;content-attachment&quot;</i><span style=\"color: navy\">;</span>\r\n src.format<span style=\"color: navy\"><b> -&gt; </b></span>tgt.format <i>&quot;content-format&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>drContext<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.encounter<span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter <i>&quot;context-encounter&quot;</i><span style=\"color: navy\">;</span>\r\n src.event<span style=\"color: navy\"><b> -&gt; </b></span>tgt.event <i>&quot;context-event&quot;</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -&gt; </b></span>tgt.period <i>&quot;context-period&quot;</i><span style=\"color: navy\">;</span>\r\n src.facilityType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.facilityType <i>&quot;context-facilityType&quot;</i><span style=\"color: navy\">;</span>\r\n src.practiceSetting<span style=\"color: navy\"><b> -&gt; </b></span>tgt.practiceSetting <i>&quot;context-practiceSetting&quot;</i><span style=\"color: navy\">;</span>\r\n src.sourcePatientInfo<span style=\"color: navy\"><b> -&gt; </b></span>tgt.sourcePatientInfo <i>&quot;context-sourcePatientInfo&quot;</i><span style=\"color: navy\">;</span>\r\n src.related<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.related<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>drrelated<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;context-related&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>drrelated<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;related-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.ref<span style=\"color: navy\"><b> -&gt; </b></span>tgt.ref <i>&quot;related-ref&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/DocumentReference2to3",
  "version" : "0.1.0",
  "name" : "DocumentReference2to3",
  "title" : "DocumentReference Transforms: R2 to R3",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "DocumentReferenceTransformsR2toR3",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/1.0/DocumentReference",
      "mode" : "source",
      "alias" : "DocumentReferenceR2"
    },
    {
      "url" : "http://hl7.org/fhir/3.0/DocumentReference",
      "mode" : "target",
      "alias" : "DocumentReference"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*2to3"
  ],
  "group" : [
    {
      "name" : "DocumentReference",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "DocumentReferenceR2",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "DocumentReference",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "DocumentReference-masterIdentifier",
          "source" : [
            {
              "context" : "src",
              "element" : "masterIdentifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "masterIdentifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-subject",
          "source" : [
            {
              "context" : "src",
              "element" : "subject",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subject",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-class",
          "source" : [
            {
              "context" : "src",
              "element" : "class",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "class",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-author",
          "source" : [
            {
              "context" : "src",
              "element" : "author",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "author",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-custodian",
          "source" : [
            {
              "context" : "src",
              "element" : "custodian",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "custodian",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-authenticator",
          "source" : [
            {
              "context" : "src",
              "element" : "authenticator",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "authenticator",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-created",
          "source" : [
            {
              "context" : "src",
              "element" : "created",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "created",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-indexed",
          "source" : [
            {
              "context" : "src",
              "element" : "indexed",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "indexed",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-docStatus",
          "source" : [
            {
              "context" : "src",
              "element" : "docStatus",
              "variable" : "v"
            }
          ],
          "rule" : [
            {
              "name" : "DocumentReference-docStatus-inner",
              "source" : [
                {
                  "context" : "v",
                  "element" : "coding",
                  "variable" : "v1",
                  "condition" : "v1.system = 'http://hl7.org/fhir/composition-status'"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "docStatus",
                  "transform" : "evaluate",
                  "parameter" : [
                    {
                      "valueString" : "v1.code"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-relatesTo",
          "source" : [
            {
              "context" : "src",
              "element" : "relatesTo",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "relatesTo",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "drRelatesTo",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-description",
          "source" : [
            {
              "context" : "src",
              "element" : "description",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "description",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-securityLabel",
          "source" : [
            {
              "context" : "src",
              "element" : "securityLabel",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "securityLabel",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-content",
          "source" : [
            {
              "context" : "src",
              "element" : "content",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "content",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "drContent",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        },
        {
          "name" : "DocumentReference-context",
          "source" : [
            {
              "context" : "src",
              "element" : "context",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "context",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "drContext",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "drRelatesTo",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "relatesTo-code",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "relatesTo-target",
          "source" : [
            {
              "context" : "src",
              "element" : "target",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "target",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "drContent",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "content-attachment",
          "source" : [
            {
              "context" : "src",
              "element" : "attachment",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "attachment",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "content-format",
          "source" : [
            {
              "context" : "src",
              "element" : "format",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "format",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "drContext",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "context-encounter",
          "source" : [
            {
              "context" : "src",
              "element" : "encounter",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "encounter",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "context-event",
          "source" : [
            {
              "context" : "src",
              "element" : "event",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "event",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "context-period",
          "source" : [
            {
              "context" : "src",
              "element" : "period",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "period",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "context-facilityType",
          "source" : [
            {
              "context" : "src",
              "element" : "facilityType",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "facilityType",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "context-practiceSetting",
          "source" : [
            {
              "context" : "src",
              "element" : "practiceSetting",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "practiceSetting",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "context-sourcePatientInfo",
          "source" : [
            {
              "context" : "src",
              "element" : "sourcePatientInfo",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "sourcePatientInfo",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "context-related",
          "source" : [
            {
              "context" : "src",
              "element" : "related",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "related",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "drrelated",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "drrelated",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "related-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "related-ref",
          "source" : [
            {
              "context" : "src",
              "element" : "ref",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "ref",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.